1. /* sdfatn2l.cpp by K.Tsuru */
  2. // function ID 5105 DRADIX
  3. /**************************************************************
  4. SDouble class
  5. inverse trigonometric function arctan(num/den) for num < den.
  6. using SDecimal function in radix BRADIX
  7. ***************************************************************/
  8. #ifndef SN_H
  9. #include "sn.h"
  10. #endif
  11. SDouble Atan2L(ulong num, ulong den){
  12. SDecimal b;
  13. ulong mt = b.SlOpMaxValue(); // = 131071
  14. if( den > mt || !den || num >= den ) b.SetError(b.OUT_OF_RANGE,"Atan2L", 5105);
  15. b = Batan2(num, den);
  16. return b.ConvToDec();
  17. }

sdfatn2l.cpp : last modifiled at 2015/12/03 21:33:07(583 bytes)
created at 2017/10/07 10:22:50
The creation time of this html file is 2017/10/07 11:29:39 (Sat Oct 07 11:29:39 2017).